﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mortgage.DDL
{
    public class AccountInfoUI
    {
        public AccountUI Identity { set; get; }
        public CashHoldingUI CashHolding { set; get; }
        public List<StocksUI> StocksHolding { set; get; }

        public List<ContractUI> OpenContracts { set; get; }
        public List<ContractUI> ClosedContracts { set; get; }

        public AccountInfoUI()
        {

        }

        public AccountInfoUI(AccountUI id, CashHoldingUI cash, List<StocksUI> stocks, 
                                List<ContractUI> contracts, List<ContractUI> closedcontracts)
        {
            Identity = id;
            CashHolding = cash;
            
            StocksHolding = stocks;
            OpenContracts = contracts;
            ClosedContracts = closedcontracts;
        }
    }
}
